home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2003 November
/
PCWK1103B.iso
/
CINEMA 4D CE 6
/
Libs
/
gui_defines.cox
< prev
Wrap
Text File
|
2001-01-20
|
23KB
|
823 lines
enum
{
GUI_H_
};
enum
{
WIN_WINDOW = 1,
WIN_DLG = 2,
WIN_POPUP = 3
};
enum
{
FONT_DEFAULT = 0,
FONT_STANDARD = 1,
FONT_BOLD = 2,
FONT_MONOSPACED = 3
};
// COFFEE qualifiers
enum
{
QSHIFT = 1,
QCTRL = 2,
QALT = 4,
QALT2 = 8,
QALT3 = 16,
QQUAL_
};
// COFFEE keys
enum
{
KEY_UP = 0x8000,
KEY_DOWN = 0x8001,
KEY_RIGHT = 0x8002,
KEY_LEFT = 0x8003,
KEY_PGUP = 0x8004,
KEY_PGDOWN = 0x8005,
KEY_HOME = 0x8006,
KEY_END = 0x8007,
KEY_INSERT = 0x8008,
KEY_DELETE = 0x8009,
KEY_BACKSPACE = 0x8010,
KEY_ENTER = 0x8011,
KEY_TAB = 0x8012,
KEY_F1 = 0x8013,
KEY_F2 = 0x8014,
KEY_F3 = 0x8015,
KEY_F4 = 0x8016,
KEY_F5 = 0x8017,
KEY_F6 = 0x8018,
KEY_F7 = 0x8019,
KEY_F8 = 0x8020,
KEY_F9 = 0x8021,
KEY_F10 = 0x8022,
KEY_F11 = 0x8023,
KEY_F12 = 0x8024,
KEY_ESC = 0x8025,
KEY_SPACE = 0x8026,
// for old IsKeyDown
KEY_MLEFT = 0xF000,
KEY_MRIGHT = 0xF001,
KEY_SHIFT = 0xF010,
KEY_CONTROL = 0xF011,
KEY_ALT = 0xF012
};
enum
{
BfBLACK = 0,
BfWHITE = 1,
BfLTGRAY = 2,
BfLTRED = 3,
BfLTGREEN = 4,
BfLTBLUE = 5,
BfLTYELLOW = 6,
BfGRAY = 7,
BfRED = 8,
BfGREEN = 9,
BfBLUE = 10,
BfYELLOW = 11,
BfDGRAY = 12,
BfDRED = 13,
BfDGREEN = 14,
BfDBLUE = 15,
BfDYELLOW = 16,
BfDWHITE = 17,
BfORANGE = 18,
BfBROWN = 19,
BfPURPLE = 20
};
enum
{
// bitmap modes
BMP_NORMAL = 0,
BMP_NORMALSCALED = 1,
BMP_DARKEN = 2,
BMP_EMBOSSED = 3,
BMP_ALLOWALPHA = 256, // bitmask
COLOR_BG = 1000,
COLOR_BGEDIT = 1001,
COLOR_BGFOCUS = 1002,
COLOR_TEXT = 1003,
COLOR_TEXTFOCUS = 1004,
COLOR_EDGELT = 1005, // bright border
COLOR_EDGEWH = 1006, // brightest border
COLOR_EDGEDK = 1007, // dark border
COLOR_EDGEBL = 1008, // darkest border
COLOR_DBARFG1 = 1009, // dialog bar
COLOR_DBARBG1 = 1010, // dialog bar
COLOR_DBARFG2 = 1011, // dialog bar
COLOR_DBARBG2 = 1012, // dialog bar
COLOR_BGGADGET = 1013, // gadget background color
COLOR_BGSELECTEDTEXT = 1014, // selected text in gadgets
COLOR_FGSELECTEDTEXT = 1015, // selected text in gadgets
COLOR_TIMELINE = 1016, // Timeline
COLOR_XOR = 998, // for XOR lines
COLOR_TRANS = 999, // transparent background for text
oCOLOR_BG = 11000,
oCOLOR_BGEDIT = 11001,
oCOLOR_BGFOCUS = 11002,
oCOLOR_TEXT = 11003,
oCOLOR_TEXTFOCUS = 11004,
oCOLOR_EDGELT = 11005, // bright border
oCOLOR_EDGEWH = 11006, // brightest border
oCOLOR_EDGEDK = 11007, // dark border
oCOLOR_EDGEBL = 11008, // darkest border
oCOLOR_DBARFG1 = 11009, // dialog bar
oCOLOR_DBARBG1 = 11010, // dialog bar
oCOLOR_DBARFG2 = 11011, // dialog bar
oCOLOR_DBARBG2 = 11012, // dialog bar
oCOLOR_BGGADGET = 11013, // gadget background color
oCOLOR_BGSELECTEDTEXT = 11014, // selected text in gadgets
oCOLOR_FGSELECTEDTEXT = 11015, // selected text in gadgets
oCOLOR_TIMELINE = 11016, // Timeline
COLOR_DUMMY
};
// flags for layout - bf_flags
enum
{
BFV_GRIDGROUP_EQUALCOLS = 1, // each column has the same width
BFV_GRIDGROUP_EQUALROWS = 2, // each row has the same height
BFV_CMD_EQUALCOLUMNS = 2048, // same column width
BFV_DIALOG_REMOVEABLE = 4, // dialog is removeable
BFV_DIALOG_BAR_VERT = 8, // dialog has a vertical dialogbar
BFV_DIALOG_NOBUTTONS = 16, // no button bar
//BFV_GRIDGROUP_LAYOUTER = 256, // mark a layouting frame
BFV_LAYOUTGROUP_PALETTEOUTLINES = 512,
BFV_IGNORE_FOCUS = 1024,
BFV_TABGROUP_RELOADDIALOG = 2048, // hack
BFV_LAYOUTGROUP_NODROP = 4096,
BFV_
};
// command resource object
enum
{
RESOURCE_COMMAND = 'rcmd', // GetCResource();
RESOURCE_MENU = 'rmnu', // GetCResource();
RESOURCE_DIALOG = 'rdlg', // GetCResource();
RESOURCE_ICON = 'ricn', // GetCResource();
RESCMD_TITLE = 'titl',
RESCMD_HELP = 'help',
RESCMD_ICONPOOL = 'pool',
RESCMD_ICONNUM = 'inum',
RESCMD_DESTINATION = 'dest',
RESCMD_VERSIONINFO = 'vers',
CMD_XL = 1,
CMD_GO = 2,
RESCMD_SHORTQUAL = 'sqal',
RESCMD_SHORTKEY = 'skey',
RESCMD_SHORTQUAL2 = 'sql2',
RESCMD_SHORTKEY2 = 'sky2',
RESCMD_SHORTSTRING = 'sstr',
// private
RESCMD_FLAGS = 'flag', // LONG
RESCMD_VALUE = 'valu', // LONG
RESCMD_LASTUPDATE = 'updt', // LONG
RESCMD_SUB = 'subc' // subcommand container
};
// menu resource object
enum
{
MENURESOURCE_SUBMENU = 1,
MENURESOURCE_SEPERATOR = 2,
MENURESOURCE_COMMAND = 3,
MENURESOURCE_SUBTITLE = 4,
MENURESOURCE_STRING = 5
};
enum
{
ICONPOOL_FILENAME = 'name',
ICONPOOL_ICON = 'icon',
ICON_ID = 'idid',
ICON_X = 'xpos',
ICON_Y = 'ypos',
ICON_W = 'wdth',
ICON_H = 'heig'
};
// border types
enum
{
BORDER_NONE = 0,
BORDER_THIN_IN = 1,
BORDER_THIN_OUT = 2,
BORDER_IN = 3,
BORDER_OUT = 4,
BORDER_GROUP_IN = 5,
BORDER_GROUP_OUT = 6,
BORDER_OUT2 = 7,
BORDER_OUT3 = 8,
BORDER_BLACK = 9,
BORDER_ACTIVE_1 = 10,
BORDER_ACTIVE_2 = 11,
BORDER_GROUP_TOP = 12,
BORDER_MASK = 0x7FFFFFFF,
BORDER_WITH_TITLE = 0x80000000
};
// dialog resource object
enum
{
DR_NAME = 'name',
DR_CHILD = 'chld',
DR_ID = 'rsid',
DRTYPE_DIALOG = 'rdlg',
DRTYPE_SCROLLGROUP = 'sgrp',
DR_SCROLL_V = 'scrv',
DR_SCROLL_H = 'scrh',
DR_SCROLL_BORDERIN = 'scrb',
DR_SCROLL_STATUSBAR = 'scrs',
DRTYPE_TAB = 'dtab',
DR_TAB_SELECTBY = 'tbsl',
TAB_TABS = 0,
TAB_NOSELECT = 1,
TAB_CYCLE = 2,
TAB_RADIO = 3,
DRTYPE_RADIOGROUP = 'rgrp', // radio group
DRTYPE_DLGGROUP = 'dlgg',
DR_DLGGROUP_OK = 1,
DR_DLGGROUP_CANCEL = 2,
DR_DLGGROUP_HELP = 4,
DRTYPE_GROUP = 'grup',
//DR_CHILD
//DR_NAME
//DR_ID
DR_COLUMNS = 'cols', // number of columns, either DR_COLUMNS or DR_ROWS
DR_ROWS = 'rows', // number of rows
DR_EQUALROWS = 'eqrw',
DR_EQUALCOLS = 'eqcl',
DR_BORDERSTYLE = 'bdst', // type of the border
//BORDER_STYLES ...
DR_BORDERSIZE_L = 'bszl', // space around the group
DR_BORDERSIZE_R = 'bszr', // space around the group
DR_BORDERSIZE_T = 'bszt', // space around the group
DR_BORDERSIZE_B = 'bszb', // space around the group
DR_SPACE_X = 'spcx', // space between elements
DR_SPACE_Y = 'spcy', // space between elements
DR_ALIGNMENT = 'algn', // alignment
// binfo->pos baseframe vertical and horizontal orientation
BFV_CENTER = 0,
BFV_TOP = 1, // (1<<0),
BFV_BOTTOM = 2, // (1<<1),
BFV_FIT = 3, // (BFV_BOTTOM|BFV_TOP),
BFV_SCALE = 4, // (1<<2),
BFV_SCALEFIT = 7, // (BFV_SCALE|BFV_FIT),
BFV_MASK = 3,
BFH_CENTER = 0,
BFH_LEFT = 8, // 1<<3
BFH_RIGHT = 16, // 1<<4
BFH_FIT = 24,
BFH_SCALE = 32, // 1<<5
BFH_SCALEFIT = 56,
BFH_MASK = 24,
DRTYPE_WINDOWPIN = 'wpin',
DRTYPE_SEPARATOR = 'wsep',
DRTYPE_OLDWIN = 'oldw',
DROLDWIN_SIZE_W = 'sizw', // default dialog size (w,h) in dlus
DROLDWIN_SIZE_H = 'sizh', // default dialog size (w,h) in dlus
DROLDWIN_EDITTEXT = 'edit',
DROLDWIN_MULTILINETEXT = 'edmt',
DR_MULTILINE_MONOSPACED = 1,
DR_MULTILINE_SYNTAXCOLOR = 2,
DR_MULTILINE_STATUSBAR = 4,
DROLDWIN_EDITNUMBERARROWS = 'numa',
DROLDWIN_EDITNUMBER = 'numb',
DROLDWIN_COMBOBOX = 'cmbo',
DROLDWIN_POPUPBUTTON = 'popb',
DROLDWIN_CHECKBOX = 'chck',
DROLDWIN_STATICTEXT = 'text',
DROLDWIN_SLIDER = 'sldr',
DROLDWIN_SLIDERNUM = 'slnm',
DROLDWIN_GROUPBOX = 'ogrp',
DROLDWIN_BUTTON = 'bttn',
DROLDWIN_OWNERDRAW = 'ownr',
DROLDWIN_COLORFIELD = 'cfld',
DR_COLORFIELD_NO_BRIGHTNESS = 1,
DR_COLORFIELD_NO_COLOR = 2,
DROLDWIN_RADIOGADGET = 'rgad',
DROLDWIN_SPECIALRADIO = 'sbtn',
// for all gadget types
// DR_ID = 'rsid',
// DR_CHILD = 'chld',
// DR_NAME = 'name',
DROLDWIN_POS_X = 'posx', // position (x,y,w,h) in dlus for the object
DROLDWIN_POS_Y = 'posy', // position (x,y,w,h) in dlus for the object
DROLDWIN_POS_W = 'posw', // position (x,y,w,h) in dlus for the object
DROLDWIN_POS_H = 'posh', // position (x,y,w,h) in dlus for the object
DROLDWIN_ARROWBUTTON = 'arrg',
DR_ARROWTYPE = 'arrt',
ARROW_LEFT = 1,
ARROW_RIGHT = 2,
ARROW_UP = 3,
ARROW_DOWN = 4,
ARROW_SMALL_LEFT = 5,
ARROW_SMALL_RIGHT = 6,
ARROW_SMALL_UP = 7,
ARROW_SMALL_DOWN = 8,
DIALOGRESOURCE_
};
// flags for command gadget
enum
{
CMD_POPUP_RIGHT = 1,
CMD_POPUP_BELOW = 2,
CMD_PIC = 4,
CMD_TOGGLE = 8, // can be toggled
CMD_TEXT = 16, // text
CMD_SHORTCUT = 32, // shortcut
CMD_ARROW = 64, // arrows for menu
CMD_VERT = 128, // vertical alignment of text and icon
CMD_BUTTONLIKE = 256, // button (TRUE) or menu entry (FALSE)
CMD_MENU = 512, // menu entry (is a menu entry and no command entry)
CMD_CYCLE = 1024, // stays toggled
CMD_EDITPALETTE = 4096, // command manager flag (button shows up in palette manager)
CMD_SMALLICONS = 8192, // small icons (text height)
CMD_VALUE = 0x3FFFFFFF,
CMD_ENABLED = 0x40000000, //2147483648,
CMD_
};
// flags for popups
enum
{
POPUP_ABOVE = 1,
POPUP_BELOW = 2,
POPUP_CENTERVERT = 3,
POPUP_LEFT = 4,
POPUP_RIGHT = 8,
POPUP_CENTERHORIZ = 12,
POPUP_ADJUSTWIDTH = 16,
POPUP_ADJUSTHEIGHT = 32,
POPUP_
};
// flags for coffee manager window
enum
{
SCROLLGROUP_VERT = 4,
SCROLLGROUP_HORIZ = 8,
SCROLLGROUP_NOBLIT = 16,
SCROLLGROUP_LEFT = 32,
SCROLLGROUP_BORDERIN = 64,
SCROLLGROUP_STATUSBAR = 128
};
// modes for MouseSelectAreas function
enum
{
MOUSESELECT_RECTANGLE = 1,
MOUSESELECT_POLYGON = 2,
MOUSESELECT_FREE = 3
};
enum
{
MANAGER_NONE,
MANAGER_SCROLLER_HORIZ,
MANAGER_SCROLLER_VERT,
MANAGER_CLOSEBUTTON,
MANAGER_SIZEABLE,
MANAGER_TITLE,
MANAGER_ID,
MANAGER_MENUID,
MANAGER_NOBLITBIT,
MANAGER_WANTOWNSTATUSBAR,
MANAGER_SPECIALUNLOCKMOUSEDOWN,
MANAGER_DUMMY
};
// for color chooser
enum
{
NO_BRIGHTNESS = 1,
NO_COLOR = 2,
DUMMY_
};
// focus definitions of COFFEE frames
enum
{
FOCUS_OFF = 0, // has no focus
FOCUS_ON = 1, // has focus and window is active
FOCUS_INACT = 2, // has focus but window is inactive
FOCUS_
};
enum
{
BFM_INIT = 'bINI',
BFM_TIMER_MESSAGE = 10020,
BFM_CALCSIZE = 'bCAS',
BFM_CHECKCLOSE = 'chkc', // message to physical window when user closes window
BFM_ASKCLOSE = 'askc', // send within dialog to check if dialog can be closed
BFM_DESTROY = 'dsty', // force closing
BFM_CLOSEWINDOW = 'clos', // parent message for window closing
BFM_ASK_TABSWITCH = 'stab', // ask for tab switching
BFM_ASK_VISIBLE = 'avis', // parent message to ask for visiblility
BFM_VISIBLE_ON = 'visT', // message about visibility change
BFM_VISIBLE_OFF = 'visF', // message about visibility change
BFM_PARENT_TITLECHNG = 'pren', // title change parent notify
BFM_RENAMEWINDOW = 'wren', // rename window message
BFM_GETACTIVETABTITLE = 'tact', // ask for active tab title
BFM_GETCURSORINFO = 'cinf', // ask for mousepointdata (returns container)
// BFM_DRAG_SCREENX - screenx
// BFM_DRAG_SCREENY - screeny
// resultcontainer
RESULT_CURSOR = 1, // cursor type
RESULT_BUBBLEHELP = 2, // bubble help text
BFM_GETINFO = 'bInf',
BFM_DRAW = 'bDRA',
BFM_DRAW_LEFT = 1, // only redraw this area
BFM_DRAW_TOP = 2, // only redraw this area
BFM_DRAW_RIGHT = 3, // only redraw this area
BFM_DRAW_BOTTOM = 4, // only redraw this area
BFM_DRAW_HASRECT = 5, // flag for a existing redraw rectangle
BFM_DRAW_OGL = 6, // flag for a existing redraw rectangle
BFM_GET_SHOW_AREA = 'sget',
BFM_SHOW_AREA = 'sare', // scrolls the given rectangle so that it becomes visible (ScrollArea)
//BFM_DRAW_LEFT
//BFM_DRAW_TOP
//BFM_DRAW_RIGHT
//BFM_DRAW_BOTTOM
BFM_TITLECHNG = 'bTIC',
BFM_ENABLE = 'bEna', // enables the COFFEE frame
BFM_DISABLE = 'bDis', // disables the COFFEE frame
BFM_MINCHNG = 'bMIC',
BFM_MAXCHNG = 'bMAC',
BFM_VALUECHNG = 'bVAC',
BFM_IDCHNG = 'bIDC',
BFM_GOTFOCUS = 'bGFC', // item got the focus
BFM_LOSTFOCUS = 'bLFC', // item lost the focus
BFM_SETFOCUS = 'bSFC', // internal message
BFM_SETFIRSTFOCUS = 'bSFF', // help message focus-keyboard control
BFM_MOVEFOCUSNEXT = 'bFNX', // help message focus-keyboard control
BFM_MOVEFOCUSPREV = 'bFPR', // help message focus-keyboard control
BFM_SETLASTFOCUS = 'bSLF', // help message focus-keyboard control
BFM_SHOW_FRAME = 'sFrm', // brings frame to front, returns TRUE if found
BFM_SHOW_ID = 1, // show this id
BFM_MANAGER_ID = 2, // show this id
BFM_GET_MANAGERID = 'gMan', // retrieves the manager ID
BFM_FIND_MANAGERID = 'fMan', // search the manager for this manager ID
BFM_MANAGERID = 1, // manager ID to find
BFM_CHILD_REMOVED = 'bRem',
BFM_CHILD_ID = 1,
BFM_ACTIVATE_WINDOW = 'wact',
BFM_INPUT = 'bIPN',
BFM_INPUT_QUALIFIER = 'ipqa', // qualifier
BFM_INPUT_DEVICE = 'ipdv', // device
BFM_INPUT_MOUSE = 'mous', // mouse
BFM_INPUT_KEYBOARD = 'keyb', // mouse
BFM_INPUT_ASC = 'kasc', //
BFM_INPUT_CHANNEL = 'ipca', // channel
BFM_INPUT_MOUSELEFT = 1,
BFM_INPUT_MOUSERIGHT = 2,
BFM_INPUT_MOUSEMIDDLE = 3,
BFM_INPUT_MOUSEWHEEL = 100, // windows mouse wheel message
BFM_INPUT_MOUSEMOVE = 101, // windows mouse wheel message
BFM_INPUT_VALUE = 'ipva', // LONG: channel value (e.g. pressure)
BFM_INPUT_VALUE_REAL = 'ipvA', // REAL: Value des Channels (z.B Pressure)
BFM_INPUT_X = 'ipvx', // channel x value
BFM_INPUT_Y = 'ipvy', // channel y value
BFM_INPUT_Z = 'ipvz', // channel z value
BFM_INPUT_TILT = 'itlt', // pen tilt
BFM_INPUT_ROTATION = 'irot', // pen rotation
BFM_INPUT_FINGERWHEEL = 'ifng', // finger wheel
BFM_INPUT_DOUBLECLICK = 'ipdb', // double click (bool)
INPUT_DBLCLK = 0x8000,
BFM_SIZED = 'bISI',
BFM_ACTION = 'bACT',
BFM_ACTION_ID = 'meid',
BFM_ACTION_VALUE = 'meva',
BFM_ACTION_INDRAG = 'medr', // slider in dragging mode (unfinished) (bool)
BFM_ACTION_STRCHG = 'mest', // string in textfield changed (bool)
BFM_ACTION_VALCHG = 'vchg', // NumberEdit/SliderChg (bool)
BFM_ACTIVE_CHG = 'bACG', // activation changed
BFM_ACTIVE = 'actv', // flag, if window is active
BFM_DRAGSTART = 10001,
BFM_DRAGRECEIVE = 10003,
BFM_DRAGEND = 10004,
BFM_DRAGAUTOSCROLL = 10005,
BFM_DRAG_TYPE = 1,
DRAGTYPE_FILES = 1, // data pointer is a string with filename
DRAGTYPE_ICON = 4, //
DRAGTYPE_MANAGER = 5, // destination drag for COFFEE manager
DRAGTYPE_COMMAND = 6, // destination drag for command
DRAGTYPE_CMDPALETTE = 7,
DRAGTYPE_OBJECT = 100,
DRAGTYPE_TAG = 101,
DRAGTYPE_OTRENN = 102,
DRAGTYPE_ATRENN = 103,
DRAGTYPE_ANAME = 104,
DRAGTYPE_CTRENN = 105,
DRAGTYPE_HV = 106,
DRAGTYPE_TIMEA = 107,
DRAGTYPE_TIMEC = 108,
DRAGTYPE_TIMEU = 109,
DRAGTYPE_MCURVE = 110,
DRAGTYPE_U_MARKERX = 111,
DRAGTYPE_U_MARKERY = 112,
DRAGTYPE_MATERIAL = 200,
DRAGTYPE_KEY = 300,
DRAGTYPE_SEQ = 301,
DRAGTYPE_TRACK = 304,
DRAGTYPE_A_RKEYS = 305,
DRAGTYPE_BROWSER_TEXTURE = 400,
DRAGTYPE_BROWSER_SCENE = 401,
DRAGTYPE_BROWSER_MATERIAL = 402,
DRAGTYPE_BROWSER_SOUND = 403,
DRAGTYPE_BROWSER_FCV = 404,
DRAGTYPE_BROWSER_COFFEE = 405,
DRAGTYPE_A_OBJECT = 44000,
DRAGTYPE_A_TRACK = 44001,
DRAGTYPE_A_SEQ = 44002,
DRAGTYPE_A_SEQ_NEW = 44005,
DRAGTYPE_A_KEY = 44006,
DRAGTYPE_A_MARKER = 44007,
DRAGTYPE_A_TIME = 44008,
DRAGTYPE_A_SELECT_MIN = 44010,
DRAGTYPE_A_SELECT_MAX = 44011,
DRAGTYPE_A_LOOP_MIN = 44013,
DRAGTYPE_A_LOOP_MAX = 44014,
DRAGTYPE_A_TRENN1 = 44015,
DRAGTYPE_A_TRENN2 = 44016,
DRAGTYPE_A_RANGE_PS = 44017,
DRAGTYPE_A_RANGE_PS_MIN = 44018,
DRAGTYPE_A_RANGE_PS_MAX = 44019,
DRAGTYPE_A_TIME_PS = 44020,
DRAGTYPE_A_LINE = 45000,
DRAGTYPE_A_VDRAG = 45001,
BFM_DRAG_DATA = 2,
BFM_DRAG_SCREENX = 3,
BFM_DRAG_SCREENY = 4,
BFM_DRAG_FINISHED = 5,
BFM_DRAG_PRIVATE = 6,
BFM_DRAG_LOST = 7,
AUTOSCROLL_UP = 1, // result of BFM_DRAGAUTOSCROLL
AUTOSCROLL_DOWN = 2, // result of BFM_DRAGAUTOSCROLL
AUTOSCROLL_LEFT = 3, // result of BFM_DRAGAUTOSCROLL
AUTOSCROLL_RIGHT = 4, // result of BFM_DRAGAUTOSCROLL
AUTOSCROLL_OWNX = 5, // only for timeline - hack
AUTOSCROLL_OWNY = 6, // only for timeline - hack
// Tilo changed
BFM_GETVALUE = 'gVAL', // get Value
BFM_VALUEADD = 'bVAD',
BFM_VALUESUB = 'bVSB',
BFM_INITVALUES = 'bVIN',
BFM_ADJUSTSIZE = 'fADJ', // message to adjust the object in the given range l.d.
BFM_ADJUSTSIZE_LEFT = 1,
BFM_ADJUSTSIZE_TOP = 2,
BFM_ADJUSTSIZE_WIDTH = 3,
BFM_ADJUSTSIZE_HEIGHT = 4,
// parent messages
// BFM_GETDISABLED = 'bDIS', // ask if parent is disabled
BFM_LAYOUT_CHANGED_INTERNAL = 'iLAY',
BFM_LAYOUT_CHANGED = 'fLAY', // layout change message to parent
BFM_ISACTIVE = 'iact', // to ask active view...
BFM_SETSTATUSBAR = 'stat',
BFM_STATUSBAR_PROGRESSON = 1, // bool
BFM_STATUSBAR_TXT = 2, // string
BFM_STATUSBAR_PROGRESS = 3, // real 0.0...1.0
BFM_STATUSBAR_PROGRESSSPIN = 4, // ...
BFM_STATUSBAR_HELP = 5,
BFM_MARKFOCUS = 'bMFC', // reverts focus message ... for internal use only
BFM_CLEARFOCUS = 'bCFC', // clear focus of all childs
BFM_SETACTIVE = 'bSAC', // set active dialog bar
BFM_SETACTIVE_DATA = 'bSAC', // set active dialog bar
BFM_REMOVE_DIALOG = 'bREM', // remove the dialog from current group
BFM_DESTINATION_GROUP = 'gdst', // destination for dialog, NULL means own window
BFM_SCROLLAREA = 10010, // scroll client area
BFM_SCROLLX = 1, // scroll direction
BFM_SCROLLY = 2, // scroll direction
BFM_GETVISIBLE_XOFF = 10011, // internal usage
BFM_GETVISIBLE_YOFF = 10012, // internal usage
BFM_GETVISIBLE_WIDTH = 10013, // internal usage
BFM_GETVISIBLE_HEIGHT = 10014, // internal usage
// scroller
SCR_VISIBLEOBJS = 'sVIS', // visible scroll elements
BFM_SETVIEWPORTORIGIN = 'cORG',
BFM_SETVIEWPORTORIGIN_X = 1,
BFM_SETVIEWPORTORIGIN_Y = 2,
BFM_SETVIEWPORTSIZE = 'cSIZ',
BFM_MENU_SET = 10000,
BFM_MENU_ON = 1,
BFM_MENU_OFF = 2,
BFM_MENU_CHECK = 4,
BFM_MENU_UNCHECK = 8,
BFM_DRAWUSERITEM = 'usrd',
BFM_DRAWUSERITEM_ID = 1,
// C4D message
BFM_SYNC_MESSAGE = 'sync',
BFM_CORE_MESSAGE = 'MciM',
BFM_CORE_ID = 'MciI', // C4D message ID
BFM_CORE_UNIQUEID = 'Muid', // time stamp
BFM_CORE_PAR1 = 'Mci1', // parameter 1
BFM_CORE_PAR2 = 'Mci2', // parameter 2
BFM_CORE_SPECIALCOREID = 'scid', // special manager ID for sync message
BFM_TESTONLY = 'test', // do nothing
BFM_SPECIALLONG = 'splg', // special thing
BFM_SPECIALSTRING = 'spst', // special thing
BFM_SPECIALENABLE = 'spen', // ....
BFM_SPECIALGETLONG = 'gtlg', // special thing
BFM_SPECIALGETSTRING = 'gtst', // special thing
BFM_SPECIALSETRANGE = 'srng', // special hack
BFM_SPECIALACTIVATE = 'sact', // special activate
BFM_SPECIALVECTOR = 'svec', // set vector
BFM_SPECIALGETVECTOR = 'gvec', // get vector
BFM_SPECIALSETCONTAINER = 'scnt', // special hack
BFM_SPECIALGETREAL = 'grel', // special hack
BFM_SPECIALSETREAL = 'srel', // special hack
BFM_SPECIALSETPOPUPMENU = 'spop', // special container for popup button menudata
BFM_COMMAND = 'cmmd', // executed commando
BFM_CMD_ID = 'cmdi', // command ID
BFM_CMD_DEST = 'dest', // destination manager
BFM_CMD_FIRSTFOCUS = 'focu', // TRUE, if the message is sent first time to the current manager, second try to the editor
BFM_CORE_UPDATECOMMANDS = 'updc', // forces update of all command buttons
BF_INSERT_LAST = 2147483647,
BFM_MENUFINDER = 'find',
BFM_SET_MSG_BITMASK = 'bitm',
BITMASK_CORE_MESSAGE = 1,
BITMASK_SYNC_MESSAGE = 2,
BFM_SETMAINTITLE = 'mtit',
BFM_GETVIEWPANELDATA = 'vpdt',
BFM_GETVIEWPANEL_PRIVATEDATA = 'vppd',
BFM_SETVIEWPANELLAYOUT = 'vpsl',
BFM_VPD_PANELID = 'vpid',
BFM_VPD_LAYOUTTYPE = 'vplt',
BFM_VPD_MAXIMIZED = 'vpmx',
BFM_VPD_PRIVATEDATA = 'vpdt',
BFM_STORE_WEIGHTS = 'stwg',
BFM_MARKFORCELAYOUT = 'mkfl',
BFM_REDRAW_EDITMODE = 'dwed',
BFM_RELOAD_MENUS = 'ldmn',
BFM_OPTIMIZE = 'opti',
BFM_CORE_UPDATEACTIVECOMMANDS = 'upda',
BFM_UPDATE_REGION = 'uprg', // parent message -> update region
BFM_GUIPREFSCHANGED = 'gpch', // message for changed gui prefs
BFM_DUMMY = 0 // dummy
};
enum
{
GUI_DIALOG_MINIMIZE = 90,
GUI_DIALOG_RELEASE = 91,
GUI_DIALOG_CLOSE = 92
};
enum
{
CFRAME_TEXTURES = 1,
CFRAME_2DVIEW = 2,
CFRAME_3DVIEW = 3,
CFRAME_DUMMY
};
// paint tool brush dialog
enum
{
ID_PTBD_TOOL = 100,
ID_PTBD_DRAWMODE = 101,
ID_PTBD_PRESSURE = 102,
ID_PTBD_RELPRESSURE = 103,
ID_PTBD_BRUSHSIZE = 104,
ID_PTBD_BRUSHHARDNESS = 105,
ID_PTBD_BRUSHSITANCE = 106,
ID_USERFRAME1 = 2000,
ID_USERFRAME2 = 2001,
ID_USERFRAME3 = 2002,
ID_USERFRAME4 = 2003,
ID_USERFRAME5 = 2004,
ID_USERFRAME6 = 2005,
ID_LAST_DUMMY // dummy
};